import request from '@/utils/request'

const baseUrl = 'http://localhost:9083/basic/dept'

export function queryDept(data) {
  return request({
    baseURL: baseUrl,
    url: '/list',
    method: 'post',
    data
  })
}

export function logout() {
  return request({
    url: '/vue-element-admin/user/logout',
    method: 'post'
  })
}
